package com.dq.Week1.day04.arr;

public class Demo08 {
    public static void main(String[] args) {
        int [] arr1={1,2,3,9,5,6,7};
        int [] arr2=new int[arr1.length];
        ArrUtils.printTargetArr(arr1, 2,arr2, 1,  4);

        ArrUtils.bubbleSort(arr1);
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }

        ArrUtils.selectionSort(arr1);
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }
    }
}
